SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '558e2a0158288327471d026e6917a69bba6b947e5c00db839248e991186b2b33' 
  AND token = 'h5oclNlSqSYNbngC6uSSvhuGx2If2x7UQb1cK6qDu38=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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