SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '118a5c681aa23565602dafef7ad051b10c23d9301cf046004551f52a8404060d' 
  AND token = '2MU7wdu22ag8296UQLMZfgJdhOsuQB8aA+XTFSfiOok=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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