SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31d063d475780be99242b27d89a6c8d693e167db1b08a454e1785af1c47cea2b' 
  AND token = 'qvLnY7FkhuEsh4y8f2cRhpMqhUsM+u43KqBJNj0v9qI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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