SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50e2139e61a035d3125a3cd09d76c196a56971be79bbf1fa1884a89a269c2bba' 
  AND token = 'lvKpVvbcCRtbxALiPL/pw1QAshncTuCRp0r4kFxfzjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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