SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0cfe0ae06bbdfa20b03ff126b2379063935877e23f60b0eafbc9549978617f5' 
  AND token = 'EvA2DlY9p+27ahE+qUdtPq0Y9vvTJ8K37tuFxQQ6HN0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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