SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51e2e525a8c6d831ba573f830b645a2fadaf8106b74f7fb44d1360a04b9119ca' 
  AND token = 'AQ4niiHp6mLyuV9YPFihpazJuPjnkN8X5dpHNWvRu2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}