SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2a54f5f13f9a184f6744f10d40e5411c831abe866f27a3143a0308f582f2c74' 
  AND token = 'M62qCJCWanAI8ZgVd6ym3kkLoMz2ubSxdU+nOSmfUOo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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