SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77fb1986fe2a6cf9ef5d4ac4eeccd758fba0f5012f5ed02e69ec0671e333b187' 
  AND token = 'c5bs3perNFuGWiia8AwmJS6s1PiYBYXodKftQ5scjrA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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